<div class="posts form">
	<?php echo $form->create('Task',array('action'=>'add'));?>
    <div id="main" class="clearfix">
        <div id="container" class="clearfix" style="background:#fff;">
            <div id="frame">
                <div class="leftCols">
                    <div class="title">
                        <?php __('New Task');?>
                    </div>
                    <div class="field">
                        <div style="float:left; padding-right:30px;">
                            Task ID
                            <br/>
                            <input type="text" disabled='disabled' value="(New)" style="width:108px; text-align: center;"/>
                        </div>
                    </div>
                    <?php echo $form->input('Task.taskName',array('div'=>array('class' => 'field'),'label'=>'Task Name <span class="required">*</span>','style'=>'width:350px;'));?>
                    <div class="field">
                        Notes
                        <br/>
                        <textarea style="width:350px; height: 150px;" name="data[Task][description]"></textarea>
                    </div>
                </div>
                <div class="rightCols">
                	<div class="field">
                		<label for="TaskRelativePoint">Relative point <span class="required">*</span></label>
	                    <?php echo $form->select('Task.relativePoint', $relativePoints, 5, array('empty'=>false, 'div'=>false,'style'=>'width:350px; height:20px;'), true); ?>
	                  </div>
                    <?php echo $form->input('Task.estimatedHour',array('div'=>array('class' => 'field'),'label'=>'Estimated Hours <span class="required">*</span>','style'=>'width:350px;'));?>
                    <?php echo $form->input('Task.realHour',array('div'=>array('class' => 'field'),'label'=>'Real Hours <span class="required">*</span>','style'=>'width:350px;'));?>
                    <?php echo $form->input('Task.currentSprint',array('div'=>array('class' => 'field'),'label'=>'Add to current Sprint','type'=>'checkbox'));?>
                </div>
                <div class="saveDIV">
                    <input type="submit" value="Save" class="submit" />
                </div>
            </div>
        </div>
        <?php echo $form->end();?>
    </div>
</div>
